import pytest
import logging
from config.config import Config

@pytest.fixture(scope="session")
def api():
    logging.info("开始测试")
    api = Config("http://10.59.9.18")
    yield api
    api = ''
    logging.info("测试结束")
